package CanvaWeb.CanvaWeb.Repository;

import CanvaWeb.CanvaWeb.pojo.GameState;
import org.springframework.data.jpa.repository.JpaRepository;

public interface GameStateRepository extends JpaRepository<GameState, Long> {

    GameState findByRoomId(Long roomId);  // 获取指定房间的游戏状态
}
